package org.numanint.code;

import java.util.ArrayList;
import java.util.Arrays;



public class TableClass {

	private String tableName;
	private String tableClassName;
	private ArrayList<TablePKClass> pkArray = new ArrayList<TablePKClass>();
	private ArrayList<TableKeyClass> importKeyArray = new ArrayList<TableKeyClass>();
	private ArrayList<TableKeyClass> exportKeyArray = new ArrayList<TableKeyClass>();
	private TableFieldClass[] fields;
	public String getTableClassName() {
		return tableClassName;
	}
	public void setTableClassName(String tableClassName) {
		this.tableClassName = tableClassName;
	}
	public TableFieldClass[] getFields() {
		return fields;
	}
	public void setFields(TableFieldClass[] fields) {
		this.fields = fields;
	}
	public String getTableName() {
		return tableName;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	public ArrayList<TablePKClass> getPkArray() {
		return pkArray;
	}
	public void setPkArray(ArrayList<TablePKClass> pkArray) {
		this.pkArray = pkArray;
	}
	public ArrayList<TableKeyClass> getImportKeyArray() {
		return importKeyArray;
	}
	public void setImportKeyArray(ArrayList<TableKeyClass> importKeyArray) {
		this.importKeyArray = importKeyArray;
	}
	public ArrayList<TableKeyClass> getExportKeyArray() {
		return exportKeyArray;
	}
	public void setExportKeyArray(ArrayList<TableKeyClass> exportKeyArray) {
		this.exportKeyArray = exportKeyArray;
	}
	@Override
	public String toString() {
		return "TableClass [tableName=" + tableName + ", pkArray=" + pkArray + ", importKeyArray=" + importKeyArray + ", exportKeyArray=" + exportKeyArray + ", fields="
				+ Arrays.toString(fields) + "]";
	}

	
	
	
}
